//
//  DTBizUser.m
//  PersonalManager
//
//  Created by user on 16/8/16.
//  Copyright © 2016年 Haiyun.Qian. All rights reserved.
//

#import "DTBizUser.h"

@implementation DTBizUser


-(void)get:(DTJavascriptCommand *)command {
    
    NSDictionary *dic = [[NSDictionary alloc]initWithObjectsAndKeys:@"z0562",@"id",@"zzq",@"nickName",@"www.baid.com",@"avatar", nil];
    [command successRessponse:dic];
}

-(void) getUserInfo: (DTJavascriptCommand *) command {
    /* {"companypro":"","servicecontent":"","companyname":"","country":"","totalcount":"24","useable":"1","telephone":"","telephone2":"","mobile2":"","idnum":"","officefax":"","idtype":"1","passport":"","companyalias":"","officenum":"","companysize":"","orgcoding":"001006","sex":"1","email":"1719206786@qq.com","birthday":"","firmname":"","city":"","username":"","errmsg":"成功","driverlicense":"","official":"1","mobile":"18205081142","virtualnum":"","province":"","homeaddress":"新地址sjsjdjjdjd","result":"0","postcode":"210037","companytype":"","orderby":"192130","headpicture":"","permitlicense":"","authlevel":"1","officerlicense":"","nation":"","officialtype":"","officeaddress":"","companydesc":"","homephone":"18205081142","loginname":"Sunmoon","userid":"8afacaeb4859f08e01485d8c87c9064c"}  */
    NSDictionary *dic = [[NSDictionary alloc]initWithObjectsAndKeys:
                         @"",@"companypro", @"",@"servicecontent",
                         @"",@"companyname", @"",@"country",
                         @"0",@"totalcount", @"1",@"useable",
                         @"",@"telephone", @"",@"telephone2",
                         @"",@"mobile2", @"330382198802181434",@"idnum",
                         @"",@"officefax", @"1",@"idtype",
                         @"",@"passport", @"",@"companyalias",
                         @"",@"officenum", @"",@"companysize",
                         @"001006",@"orgcoding", @"1",@"sex",
                         @"",@"email", @"",@"birthday",
                         @"",@"firmname", @"",@"city",
                         @"钱海云",@"username", @"成功",@"errmsg",
                         @"",@"driverlicense", @"",@"official",
                         @"15990020223",@"mobile", @"",@"virtualnum",
                         @"",@"province", @"",@"homeaddress",
                         @"0",@"result", @"",@"postcode",
                         @"",@"companytype", @"3796843",@"orderby",
                         @"",@"headpicture", @"",@"permitlicense",
                         @"3",@"authlevel", @"",@"officerlicense",
                         @"01",@"nation", @"",@"officialtype",
                         @"",@"officeaddress", @"",@"companydesc",
                         @"18205081142",@"homephone", @"zj2016060886709",@"loginname",
                         @"8afac2ed550be96b01552e2e64de0f38",@"userid",
                         nil];
    [command successRessponse:dic];
}

@end
